package com.pbq.pickerlib.wheel;

import android.content.Context;


import com.pbq.pickerlib.wheel.adapters.WheelTextAdapter;

import java.util.List;


/**
 * Created by remilia on 2016/10/12.
 */
public class BankWheelManagerBuilder {

//    private static BankWheelManagerBuilder builder;
//    private WheelTextAdapter mSex;

    private BankWheelManagerBuilder() {
    }

    public static BankWheelManagerBuilder getInstance() {
//        if (builder == null) {
//
//        }
        BankWheelManagerBuilder builder = new BankWheelManagerBuilder();
        return builder;
    }

    public TextWheelManager build(Context context,List<String> list) {
        WheelTextAdapter mSex = new WheelTextAdapter(context);
        mSex.setList(list);
        TextWheelManager manager = new TextWheelManager(context, mSex);
        return manager;
    }


}
